<?php
/**
 * Created by PhpStorm.
 * User: mac
 * Date: 2018/6/28
 * Time: 10:24
 */

namespace app\common\model;


use think\Model;

class WpConfig extends Model
{
    public function getWeConfig(){
        $where = array(
            'id' => 1,
        );
        return $this->where($where)->field("appid,appsecret")->find();
    }


}